//
//  Behavior.h
//  DynamicsBehavior
//
//  Created by wanhuatong on 14-7-8.
//  Copyright (c) 2014年 dutu. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface Behavior : UIView<UIImagePickerControllerDelegate,UINavigationControllerDelegate>
{
    NSInteger ballCount;
    NSArray *_balls;
    NSArray *_anchors;
    UIDynamicAnimator * _animator;
    UIPushBehavior * _userDragBehavior;
  //  UIImageView *imageView1;
}

@property (nonatomic,strong) UIImageView *imageView2;
@property (nonatomic,strong) UIImageView *imageView1;
@property(nonatomic,strong)UIView *blueBox;

- (void)createBallsAndAnchors;
- (void)applyDynamicBehaviors;

- (void)addPhoto;
- (void)addImage;



@end
